To make a lock request with a price concession, add a lock event using the addLockEvent call. The price concession is addressed in the body of the call, in the LockEventExtensionInfo object.
/rest/v1/lp-ppe-api/price-quote/addLockEvent
There are no path parameters
Within the body enter your details as lockEventExceptionInfo. The relevant options are:
There is no response body.
|
Copy Code | |
|---|---|
curl --location -g --request POST '{{protocol}}{{domain}}/rest/v1/lock/addLockEvent' \ --header 'secret: {{token}}' \ --header 'companyid: {{companyId}}' \ --data-raw '{ "lockId": "{{lockId}}", "lockStatusId": "{{lockStatusId}}", "priceQuoteId": "{{priceQuoteId}}", lockEventExceptionInfo: { "exceptionType": "Rate", "exceptionValueType": "Points"; "requestType": "Request", "reason": "First-time buyer discount", "values": "2.5" }' | |